Skip to content

chore(base-data-service): simplify invalidateQueries type#9526

Draft
Gudahtt wants to merge 1 commit into
mainfrom
simplify-invalidate-queries-type
Draft

chore(base-data-service): simplify invalidateQueries type#9526
Gudahtt wants to merge 1 commit into
mainfrom
simplify-invalidate-queries-type

Conversation

@Gudahtt

@Gudahtt Gudahtt commented Jul 15, 2026

Copy link
Copy Markdown
Member

Explanation

The generic parameter has been removed from the invalidateQueries method, simplifying the type signature. In practice this was never used. It also created an odd inconsistency between the method type and the action type, which would be nice to avoid.

References

N/A

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

The generic parameter has been removed from the `invalidateQueries`
method, simplifying the type signature. In practice this was never
used. It also created an odd inconsistency between the method type
and the action type, which would be nice to avoid.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant